package top.xiaoazi.futureletterserver.module.user.entity;

import lombok.Data;
import top.xiaoazi.futureletterserver.module.user.impl.UserImpl;
import top.xiaoazi.futureletterserver.module.user.vo.UserLoginRequestVO;

@Data
public class User implements UserImpl {
    private Integer userId;
    private String username;
    private String password;
    private String nickName;
    private String email;
    private String userImg;
    private Integer balance;
    private Integer CSDNScriptState;
    private String  CSDNCookie;
    private Integer CSDNCookieState;
    private String replyCommentToOther;
    private String otherCommentToMe;
    private Integer usableReplyCount; // 可用的回复评论区次数
    private Integer usableSupportCount; // 可用的三连次数
    private String synopsis;
    private String createTime;

    public User(){}

    public User(UserLoginRequestVO userLoginRequestVO) {
        this.username = userLoginRequestVO.getUsername();
        this.password = userLoginRequestVO.getPassword();
    }
}
